.yg-detail {
  background-color: #fff;
}
.yg-detail .yg-detail-head {
  width: 100%;
  background-color: var(--themeColor);
  height: 1.351351rem;
  color: #fff;
  display: flex;
  position: fixed;
  top: 0;
  z-index: 999;
}
.yg-detail .yg-detail-head .icon-fanhui-xianxing {
  line-height: 1.351351rem;
  width: 1.351351rem;
  height: 1.351351rem;
  padding-left: 0.27027rem;
  font-size: 0.540541rem;
  position: absolute;
}
.yg-detail .yg-detail-head span {
  width: 100%;
  line-height: 1.351351rem;
  text-align: center;
  font-size: 0.378378rem;
  font-weight: 100;
}
.yg-detail .yg-detail-swiper {
  width: 100%;
  height: 6.666667rem !important;
  margin-top: 1.351351rem;
}
.yg-detail .yg-detail-swiper .imageWrapper {
  height: 6.666667rem !important;
  width: 80%;
  text-align: center;
}
.yg-detail .yg-detail-swiper .imageWrapper img {
  width: 80% !important;
  height: 100%;
}
.yg-detail .yg-detail-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.540541rem;
  height: 1.081081rem;
}
.yg-detail .yg-detail-price .price-left {
  display: flex;
  color: var(--themeColor);
  font-size: 0.432432rem;
}
.yg-detail .yg-detail-price .price-left .price {
  font-weight: 700;
}
.yg-detail .yg-detail-price .price-right {
  display: flex;
  align-items: center;
}
.yg-detail .yg-detail-price .price-right .icon-fenxiang_2 {
  margin: 0 10px;
}
.yg-detail .yg-detail-title {
  padding: 0 0.540541rem;
  height: 1.081081rem;
}
.yg-detail .yg-detail-title span {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  /** 对象作为伸缩盒子模型显示 **/
  -webkit-box-orient: vertical;
  /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  -webkit-line-clamp: 3;
  /** 显示的行数 **/
  overflow: hidden;
  /** 隐藏超出的内容 **/
  font-size: 0.378378rem;
  line-height: 0.540541rem;
}
.yg-detail .yg-detail-richText {
  margin-bottom: 1.351351rem;
}
.yg-detail .yg-detail-richText .richText-title {
  height: 1.621622rem;
  text-align: center;
  padding-top: 1.081081rem;
  font-size: 0.378378rem;
}
.yg-detail .yg-detail-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.405405rem;
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #fff;
  height: 1.351351rem;
  width: 100%;
}
.yg-detail .yg-detail-bottom .bottom-service {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.yg-detail .yg-detail-bottom .bottom-service .icon-lianxikefu {
  margin-bottom: 0.081081rem;
}
.yg-detail .yg-detail-bottom .bottom-cart {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.yg-detail .yg-detail-bottom .bottom-cart .icon-gouwuche1 {
  margin-bottom: 0.081081rem;
}
.yg-detail .yg-detail-bottom .bottom-addToCart {
  background-color: #fca926;
  width: 2.432432rem;
  height: 0.810811rem;
  border-radius: 0.945946rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.yg-detail .yg-detail-bottom .bottom-addToCart span {
  color: #fff;
  font-size: 0.378378rem;
}
.yg-detail .yg-detail-bottom .bottom-buyNow {
  background-color: #fe0000;
  width: 2.432432rem;
  height: 0.810811rem;
  border-radius: 0.945946rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.yg-detail .yg-detail-bottom .bottom-buyNow span {
  color: #fff;
  font-size: 0.378378rem;
}
